package com.youzikj.wx.core.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youzikj.wx.core.dao.PubDao;
import com.youzikj.wx.core.pojo.Pub;

@Service
public class PubServiceImpl {
	@Autowired
	private PubDao dao;
	
	/**
	 * 添加发布者
	 */
	public void addPub(Pub pub){
		dao.add(pub);
	}

}
